package models

type Role struct {
	RoleId      uint   `xorm:"role_id notnull int pk autoincr"`
	Name        string `xorm:"name notnull varchar(50)" valid:"required,length(1|50)"`
	Description string `xorm:"description notnull varchar(75)" valid:"required,length(1|75)"`
}

func (r *Role) TableName() string {
	return "mm_roles"
}
